-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Change extractor to accept multiple binlog
files
#17955
Conversation
bbb8f57
to
fe62900
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
{ | ||
case ExitCode.Ok: | ||
case ExitCode.Errors: | ||
allFailed &= false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not simply allFailed = false
?
break; | ||
} | ||
} | ||
return allFailed ? ExitCode.Failed : ExitCode.Ok; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the motivation for returning ExitCode.Failed
only when all analyses failed instead of just a single failure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember any longer why I opted for this originally.
This pull request enhances the C# extractor to support multiple binary log files for analysis.
The improvement was requested in #16346 (comment).